#include <stdio.h>
#include <math.h>
int main (void) {
int n ,h ,rh ,t ,rt ,f ,ft ,o ;
printf("Enter the amount of change in saudi riyals :");
scanf("%d",&n);
h=n/100;
rh=n%100;
t=rh/20;
rt=rh%20;
f=rt/5;
ft=rt%5;
o=ft/1;
printf("the number of 100 riyals bills =%d\n",h);
printf("the number of 20 riyals bills =%d\n",t);
printf("the number of 5 riyals bills =%d\n",f);
printf("the number of 1 riyals bills =%d\n",o);
return 0;
}
